<?php

/**
 * 订单其它消费金额扩展表
 * @chenshubo
 */
namespace App\Model\PssModel;

use App\Model\BaseModel\BasePssModel;
class OrderSupplierAmountExtra extends BasePssModel
{
    public $table = 'order_supplier_amount_extra';    
    
    /**
     * 获取指定ID数据
     * @param string $orderID
     */
    public function queryByOrderId(string $orderID)
    {
        $info = $this->where('order_id',$orderID)->first();
        if( empty($info) ) {
            return [];
        }
        return $info->toArray();
    }
}
